<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:f="http://xmlns.jcp.org/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <ui:composition template="/index.xhtml">
        <ui:define name="title"/>
        <ui:define name="body">
            <h:form>

                <h:panelGroup id="messagePanel" layout="block">
                    <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
                </h:panelGroup>

                <p:panel id="panel" header="#{bundle.ViewTblCuotaTitle}" style="margin-bottom:5px;">
                    <h:panelGrid columns="2">
                        <h:outputText value="#{bundle.ViewTblCuotaLabel_idCuota}"/>
                        <h:outputText value="#{tblCuotaController.selected.idCuota}" title="#{bundle.ViewTblCuotaTitle_idCuota}"/>
                        <h:outputText value="#{bundle.ViewTblCuotaLabel_fecha}"/>
                        <h:outputText value="#{tblCuotaController.selected.fecha}" title="#{bundle.ViewTblCuotaTitle_fecha}">
                            <f:convertDateTime pattern="MM/dd/yyyy" />
                        </h:outputText>
                        <h:outputText value="#{bundle.ViewTblCuotaLabel_valor}"/>
                        <h:outputText value="#{tblCuotaController.selected.valor}" title="#{bundle.ViewTblCuotaTitle_valor}"/>
                        <h:outputText value="#{bundle.ViewTblCuotaLabel_tblNatilleraPersona}"/>
                        <h:outputText value="#{tblCuotaController.selected.tblNatilleraPersona}" title="#{bundle.ViewTblCuotaTitle_tblNatilleraPersona}"/>
                        <h:outputText value="#{bundle.ViewTblCuotaLabel_concepto}"/>
                        <h:outputText value="#{tblCuotaController.selected.concepto}" title="#{bundle.ViewTblCuotaTitle_concepto}"/>
                    </h:panelGrid>
                    <br />
                    <p:commandButton action="#{tblCuotaController.prepareCreate}" value="#{bundle.ViewTblCuotaCreateLink}" />
                    <p:commandButton action="#{tblCuotaController.prepareList}" value="#{bundle.ViewTblCuotaShowAllLink}"/>

                </p:panel>
            </h:form>
        </ui:define>
    </ui:composition>

</html>
